import React from 'react';

function Error() {
  return <p>An error occurred on client</p>;
}

// export const getServerSideProps = async ({ res, err }) => {
//   const statusCode = res?.statusCode || err?.statusCode || 404;
//   return {
//     props: {
//       statusCode
//     }
//   };
// };

export default Error;
